/* Our mixin positions a copy of our text
directly on our existing text, while
also setting content to the appropriate
text set in the data-text attribute. */
.countdown-title {
  text-align: center;
  margin: auto;
  font-family: "Zen Antique Soft", serif;
  font-size: 80px;
  line-height: 1.2;
  color: black;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  /* Animation provies a slight random skew. Check bottom of doc
  for more information on how to random skew. */
  animation: glitch-skew 1s infinite linear alternate-reverse;
}
.countdown-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  /* Creates an initial clip for our glitch. This works in
  a typical top,right,bottom,left fashion and creates a mask
  to only show a certain part of the glitch at a time. */
  clip: rect(44px, 450px, 56px, 0);
  /* Runs our glitch-anim defined below to run in a 5s loop, infinitely,
  with an alternating animation to keep things fresh. */
  animation: glitch-anim 5s infinite linear alternate-reverse;
}
.countdown-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: -2px;
  text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
  animation: glitch-anim2 1s infinite linear alternate-reverse;
}

/* Creates an animation with 20 steaps. For each step, it calculates 
a percentage for the specific step. It then generates a random clip
box to be used for the random glitch effect. Also adds a very subtle
skew to change the 'thickness' of the glitch.*/
@keyframes glitch-anim {
  0% {
    clip: rect(36px, 9999px, 37px, 0);
    transform: skew(0.13deg);
  }
  5% {
    clip: rect(15px, 9999px, 94px, 0);
    transform: skew(0.56deg);
  }
  10% {
    clip: rect(91px, 9999px, 80px, 0);
    transform: skew(0.57deg);
  }
  15% {
    clip: rect(66px, 9999px, 57px, 0);
    transform: skew(0.29deg);
  }
  20% {
    clip: rect(27px, 9999px, 22px, 0);
    transform: skew(0.1deg);
  }
  25% {
    clip: rect(95px, 9999px, 99px, 0);
    transform: skew(0.15deg);
  }
  30% {
    clip: rect(67px, 9999px, 19px, 0);
    transform: skew(0.95deg);
  }
  35% {
    clip: rect(51px, 9999px, 66px, 0);
    transform: skew(0.78deg);
  }
  40% {
    clip: rect(19px, 9999px, 28px, 0);
    transform: skew(0.55deg);
  }
  45% {
    clip: rect(60px, 9999px, 15px, 0);
    transform: skew(0.2deg);
  }
  50% {
    clip: rect(81px, 9999px, 53px, 0);
    transform: skew(0.4deg);
  }
  55% {
    clip: rect(81px, 9999px, 60px, 0);
    transform: skew(0.03deg);
  }
  60% {
    clip: rect(81px, 9999px, 18px, 0);
    transform: skew(0.67deg);
  }
  65% {
    clip: rect(86px, 9999px, 29px, 0);
    transform: skew(0.45deg);
  }
  70% {
    clip: rect(51px, 9999px, 86px, 0);
    transform: skew(0.61deg);
  }
  75% {
    clip: rect(38px, 9999px, 56px, 0);
    transform: skew(0.05deg);
  }
  80% {
    clip: rect(16px, 9999px, 80px, 0);
    transform: skew(0.4deg);
  }
  85% {
    clip: rect(8px, 9999px, 99px, 0);
    transform: skew(0.28deg);
  }
  90% {
    clip: rect(27px, 9999px, 24px, 0);
    transform: skew(0.35deg);
  }
  95% {
    clip: rect(85px, 9999px, 50px, 0);
    transform: skew(0.99deg);
  }
  100% {
    clip: rect(53px, 9999px, 62px, 0);
    transform: skew(0.84deg);
  }
}
@keyframes glitch-anim2 {
  0% {
    clip: rect(48px, 9999px, 13px, 0);
    transform: skew(0.37deg);
  }
  5% {
    clip: rect(94px, 9999px, 80px, 0);
    transform: skew(0.07deg);
  }
  10% {
    clip: rect(62px, 9999px, 48px, 0);
    transform: skew(0.24deg);
  }
  15% {
    clip: rect(62px, 9999px, 60px, 0);
    transform: skew(0.25deg);
  }
  20% {
    clip: rect(7px, 9999px, 65px, 0);
    transform: skew(0.6deg);
  }
  25% {
    clip: rect(50px, 9999px, 97px, 0);
    transform: skew(0.51deg);
  }
  30% {
    clip: rect(77px, 9999px, 33px, 0);
    transform: skew(0.78deg);
  }
  35% {
    clip: rect(45px, 9999px, 1px, 0);
    transform: skew(0.54deg);
  }
  40% {
    clip: rect(92px, 9999px, 69px, 0);
    transform: skew(0.86deg);
  }
  45% {
    clip: rect(2px, 9999px, 82px, 0);
    transform: skew(0.04deg);
  }
  50% {
    clip: rect(7px, 9999px, 90px, 0);
    transform: skew(0.2deg);
  }
  55% {
    clip: rect(83px, 9999px, 7px, 0);
    transform: skew(0.96deg);
  }
  60% {
    clip: rect(63px, 9999px, 49px, 0);
    transform: skew(1deg);
  }
  65% {
    clip: rect(2px, 9999px, 78px, 0);
    transform: skew(0.66deg);
  }
  70% {
    clip: rect(78px, 9999px, 32px, 0);
    transform: skew(0.11deg);
  }
  75% {
    clip: rect(75px, 9999px, 20px, 0);
    transform: skew(0.08deg);
  }
  80% {
    clip: rect(8px, 9999px, 39px, 0);
    transform: skew(0.91deg);
  }
  85% {
    clip: rect(44px, 9999px, 66px, 0);
    transform: skew(0.62deg);
  }
  90% {
    clip: rect(61px, 9999px, 35px, 0);
    transform: skew(0.6deg);
  }
  95% {
    clip: rect(95px, 9999px, 37px, 0);
    transform: skew(0.14deg);
  }
  100% {
    clip: rect(60px, 9999px, 11px, 0);
    transform: skew(0.13deg);
  }
}
@media screen and (max-width: 600px) {
  .countdown-title {
    text-align: center;
    font-family: "Zen Antique Soft", serif;
    font-size: 23px;
    line-height: 1.2;
    color: black;
    letter-spacing: 0.5em;
    /* Animation provies a slight random skew. Check bottom of doc
    for more information on how to random skew. */
    animation: glitch-skew 1s infinite linear alternate-reverse;
  }
  .countdown-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    /* Creates an initial clip for our glitch. This works in
    a typical top,right,bottom,left fashion and creates a mask
    to only show a certain part of the glitch at a time. */
    clip: rect(44px, 450px, 56px, 0);
    /* Runs our glitch-anim defined below to run in a 5s loop, infinitely,
    with an alternating animation to keep things fresh. */
    animation: glitch-anim 5s infinite linear alternate-reverse;
  }
  .countdown-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
  }
}/*# sourceMappingURL=countdown-title.css.map */